package com.whfc.mach.dto.maintain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 保养费用
 *
 * @author sun_guodong
 * @date 2021-08-12
 */
@Data
public class MaintainPayDTO implements Serializable {
    private Integer machId;
    /**
     * 保养id
     */
    private Integer maintainId;
    /**
     * 费用id
     */
    private Integer payId;
    /**
     * 费用名称
     */
    private String payName;
    /**
     * 费用
     */
    private Double payValue;
    /**
     * 详情
     */
    private String detail;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

    @JsonFormat(pattern = "yyyy-MM")
    private Date month;
}
